package com.dj.merchant.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author : Jimmy
 * @Date : 2020/12/16 17:53
 * @Desc : dj-version-tag
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StoreInfoCreateData {

    private Long merchantId;
    private Long storeId;
    private String logoUrl;
    private String storeName;
    private Short approveStatus;
    private Short activeStatus;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openDate;

    private String testFlag;
    private String createUser;
    private String description;
    private String contactPhone;
    private Integer businessType;
    private String updateUser;

}
